package cn.ava.ymcc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "file.alicloud")
@RefreshScope
public class AlicloudOSSProperties {

    private String bucketName;

    private String accessKey;

    private String secretKey;

    private String endpoint;

    private String filePrefix;
}